package com.pcbly.web.bean.publicinfo;

import java.util.HashSet;
import java.util.Set;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class MobileSetBean extends AbstractBaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 992001516013867447L;
	
	private String number; // 飞信号=手机号
	
	private String password; // 飞信密码
	
	private String loginName; // 登录用户名
	
	private Set<MessageBean> messageBeans=new HashSet<MessageBean>(0); 

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public Set<MessageBean> getMessageBeans() {
		return messageBeans;
	}

	public void setMessageBeans(Set<MessageBean> messageBeans) {
		this.messageBeans = messageBeans;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
